﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program1
    {

        static  void  Main(string[] agrs)
        {

            int[] arr = { 66, 778, 857, };

            double sum = 0;
            foreach (double he in  arr)
            {
                sum = sum + he ;
            }
            Console.WriteLine("数组的和:"+sum );
        }
    }
}
